package com.dartfar.mail.service;

import java.util.List;

import com.dartfar.mail.model.MailState;


public interface MailStateService {
	
	public List<MailState> getMailListByUserId(int id);
	
	public List<MailState> getReceiveListByUserIdByLimit(final int userId, final int limit);

	public Long getMailReceiveCount(int id);

	public void chageMailSate(int id, Boolean flag);
	
	public List<MailState> getMailListBySate(int id, Boolean flag);
	
	public Long getMailCountBySate(int id ,Boolean flag);
}
